import api from '@/api/index.js';


export default async function articleEditLoadsh({params}) {
    const {slug} = params
    const response =  await api.article.getArticlesBySlug(slug)
   const article = response.data;
    return article;
}